package dex.micros_gdc

class Project {
	String projectID
	String name
	String microsOwner

	static constraints = {
		projectID(blank:false, nullable: false, maxSize: 20)
		name(blank:false, nullable: false, maxSize: 20)
		microsOwner(blank:false, nullable:false, maxSize:60)
	}

	static mapping={
		table 'mgtm_project'

		id generator: 'increment'
		version true

		projectID(column: 'project_id')
		name(column:'name')
		microsOwner(column:'micros_owner')
	}
}
